package com.itWaVel.feign.client.fallback;

import com.Emplyment.result.Result;
import com.Emplyment.util.AliPay;
import com.itWaVel.feign.client.AliPaySuperUser;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class AliPaySuperUserFallback implements AliPaySuperUser {

    @Override
    public Result<String> aliPay(AliPay aliPay) {
        return Result.error("支付请求失败，请稍后再试");
    }
}
